/**
 * 
 */
package com.vanstone.imgapp;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * @author shipeng <br />
 * 
 */
public class PatternMainApp {

  public static final Pattern WEB_RESOURCE_PATTERN = Pattern.compile("http://www.xiaotuku.com/.*\\.html");

  /**
   * @param args
   */
  public static void main(String[] args) {
    String url = "http://www.xiaotuku.com/lianglimote/0401I362015.html";
    Matcher matcher = WEB_RESOURCE_PATTERN.matcher(url);
    System.out.println(matcher.matches());
  }
}
